<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">商品id</label>
            <div class="layui-input-block">
                <input type="text" name="goods_id" class="layui-input" lay-verify="required" placeholder="请输入商品id" value="{$row.goods_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">skuid</label>
            <div class="layui-input-block">
                <input type="text" name="sku_id" class="layui-input" lay-verify="required" placeholder="请输入skuid" value="{$row.sku_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">需要积分</label>
            <div class="layui-input-block">
                <input type="text" name="need_integral" class="layui-input" lay-verify="required" placeholder="请输入需要积分" value="{$row.need_integral|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">库存</label>
            <div class="layui-input-block">
                <input type="text" name="stock" class="layui-input" lay-verify="required" placeholder="请输入库存" value="{$row.stock|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否上架</label>
            <div class="layui-input-block">
                {foreach $getIsStatusList as $k=>$v}
                <input type="radio" name="is_status" value="{$k}" title="{$v}" {in name="k" value="$row.is_status"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>